#ifndef JMBCPLAYER_H
#define JMBCPLAYER_H

#ifdef JMBCPLAYER_INSIDE

typedef struct
{
	float o[3], x[3], y[3], z[3];
	// NICE: float matrix[16];
} jmbcPLAYER;

#endif

// Context

void
jmbcPlayerCreateContext(void);

// Generation / Deletion
void
jmbcGenPlayers(unsigned int n, unsigned int *players);

void
jmbcDeletePlayers(unsigned int n, unsigned int *players);

// Operation

void
jmbcPlayerControl(unsigned int id, float controller[3]);

void
jmbcPlayerMotion(unsigned int id, float x, float y);

void
jmbcPlayerLook(unsigned int id);

#endif
